<div class="pad-10" >

    <div class="navigate">
        <h1>文章列表</h1>
        
	</div>
 
				
    <form id="myform" name="myform" action="{:u('Items/delete')}" method="post">
    <div class="table-list">
    <table width="100%" cellspacing="0">
        <thead>
            <tr>
                <th width="8%">文章编号</th>
                <th width=80>标题</th>
                <th width=200>分类</th>
                <th width=60>关键词</th>           
                <th width=30>排序</th>
                <th width=30>禁用</th>
                <th width=30>操作</th>
            </tr>
        </thead>
    	<tbody>
        <volist name="articles" id="a" >
        <tr>
        	<td align="center">{$a.id}</td>
            <td align="center">{$a.title}</td>
            <td align="center">{$a.cate_name}</td>
            <td align="center">{$a.keywords}</td>
            <td align="center">{$a.ord}</td>
            <td align="center">
            	<if condition="$a.disabled eq 1">
				<span class="color-red">禁用</span>
				<else />
				<span class="color-green">启用</span>
				</if>
            </td>            
            <td align="center">
            	<a href="/index.php/Admin/Article/detail?id={$a.id}" target="_self">编辑</a>
            </td>
        </tr>
        </volist>
    	</tbody>
    </table>

    </div>
    </form>
</div>
